From d2e0f88618d7d5d60b260ff649ab955fe2e027e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20H=C3=A4rdeman?= Date: Sun, 30 Nov 2025 17:22:09 +0100 Subject: [PATCH] luci-mod-status: fix table headings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Shorten the lease time description (the header of the tables already says it contains DHCP leases, so "Remaining Time" is enough), make it clear that we have DHCPv4/6 leases and not DHCP/DHCPv6 leases. Signed-off-by: David Härdeman --- .../luci-static/resources/view/status/include/40_dhcp.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js index db338c7e17..abd2476eaa 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js @@ -110,7 +110,7 @@ return baseclass.extend({ E('th', { 'class': 'th' }, _('IPv4 address')), E('th', { 'class': 'th' }, _('MAC address')), E('th', { 'class': 'th' }, _('DUID')), - E('th', { 'class': 'th' }, _('Lease time remaining')), + E('th', { 'class': 'th' }, _('Remaining time')), isReadonlyView ? E([]) : E('th', { 'class': 'th cbi-section-actions' }, _('Static Lease')) ]) ]); @@ -163,7 +163,7 @@ return baseclass.extend({ E('th', { 'class': 'th' }, _('IPv6 addresses')), E('th', { 'class': 'th' }, _('DUID')), E('th', { 'class': 'th' }, _('IAID')), - E('th', { 'class': 'th' }, _('Lease time remaining')), + E('th', { 'class': 'th' }, _('Remaining time')), isReadonlyView ? E([]) : E('th', { 'class': 'th cbi-section-actions' }, _('Static Lease')) ]) ]); @@ -221,7 +221,7 @@ return baseclass.extend({ }, this)), E('em', _('There are no active leases'))); return E([ - E('h3', _('Active DHCP Leases')), + E('h3', _('Active DHCPv4 Leases')), table, E('h3', _('Active DHCPv6 Leases')), table6 -- 2.30.2